rows | NN n/a IE 4 DOM n/a | ||
A collection of all TR elements contained in a single TABLE, TBODY, TFOOT, or THEAD element. The rows collection of a TABLE element includes all rows of the table, regardless of how they're subdivided into row groups. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single row in the collection (e.g., document.all.myTable.rows[0], document.all.myTable .rows (0)). | |||
Object Model Reference
|
length | NN n/a IE 4 DOM n/a |
Read-only | |
Returns the number of elements in the collection. | |
Examplevar howMany = document.all.myTable.rows.length | |
Value Integer. |
item( ) | NN n/a IE 4 DOM n/a | ||||
item(index[, subindex]) Returns a single object or collection of objects corresponding to the element matching the index value (or, optionally, the index and subindex values). | |||||
Returned Value One object or collection (array) of objects. If there are no matches to the parameters, the returned value is null. | |||||
Parameters
|